#ifndef TEMPUS_IMP
#define TEMPUS_IMP

#include "ProcessFile.h"
#include "ProcessList.h"
#include <sstream>
#include <string>
#include <vector>

using namespace std;

struct OutputText
{
	string statusMessage;
	string displayText;
};

struct Task
{
	string _details;
	string _location;
	string _date;
};
enum CommandType 
{	
	ADD, SHOW, DELETE, EDIT, DATE, LOCATION, INVALID
};

class TempusImp
{
public:
	void updateRecords();
	void processCommand( string );
protected:
private:
	void processTask( string );
	void removeFirstWord( string & );
	Task _current;
	CommandType _type;
	ProcessList _command;
	ProcessFile _file;
	OutputText _mssg;
};

#endif